package com.example.itshome.entity;

public class CommodityEntity {
    public int id;
    public String title;
    public String surfacePictureSrc;
    public String insidePictureSrc;
    public String description;
    public String favoriteCount;
    public String price;
    public String watchCount;
    public boolean isCollection;

    public CommodityEntity setId(int id) {
        this.id = id;
        return this;
    }

    public CommodityEntity setCollection(boolean collection) {
        isCollection = collection;
        return this;
    }

    public CommodityEntity setTitle(String title) {
        this.title = title;
        return this;
    }

    public CommodityEntity setSurfacePictureSrc(String surfacePictureSrc) {
        this.surfacePictureSrc = surfacePictureSrc;
        return this;
    }

    public CommodityEntity setInsidePictureSrc(String insidePictureSrc) {
        this.insidePictureSrc = insidePictureSrc;
        return this;
    }

    public CommodityEntity setDescription(String description) {
        this.description = description;
        return this;
    }

    public CommodityEntity setFavoriteCount(String favoriteCount) {
        this.favoriteCount = favoriteCount;
        return this;
    }

    public CommodityEntity setPrice(String price) {
        this.price = price;
        return this;
    }

    public CommodityEntity setWatchCount(String watchCount) {
        this.watchCount = watchCount;
        return this;
    }
}
